import { EggPlugin } from 'egg'
import 'tsconfig-paths/register' // @路劲别名配置详情查看https://www.eggjs.org/zh-CN/tutorials/typescript

const plugin: EggPlugin = {
  sequelize: {
    enable: true,
    package: 'egg-sequelize',
  },
  validate: {
    enable: true,
    package: 'egg-validate',
  },
  cors: {
    enable: true,
    package: 'egg-cors',
  },
}

export default plugin
